<template>
    <div class="assessmentitem ">
        <div class="name">
            <!-- 动作评估 -->
            <slot name="name"></slot>
        </div>
        <div class="content" >
            <slot name="content"></slot>
        </div>
    </div>
</template>

<script>
    export default {
        
    }
</script>

<style  scoped>
.assessmentitem{
    width: 300px;
    padding-left: 20px;
    box-sizing: border-box;
    /* border: 1px solid #ccc; */
    box-shadow: #efeff1 -3px 3px 3px 3px ;
}
.name{
    margin-top:15px;
    margin-bottom: 15px;
    margin-left:15px;
    font-size: 15px;
    font-weight: 600;
    /* 两种方法都可以实现背景渐变色 */
    background:linear-gradient(to right, #0582c4 0%, #20cbd2 20%);
    background: -webkit-gradient(linear,left center,20% center,from(#0582c4),to( #20cbd2));
    /* 用文字来裁剪背景 */
    -webkit-background-clip: text;
    /* 文字透明 */
    -webkit-text-fill-color: transparent;
}
.content{
    padding-left:15px;
    background-color: #f6f6f8;
    overflow: hidden;
    font-size: 12px;
    margin-bottom: 15px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.title{
    /* padding-top: 10px; */
    font-size: 14px;
    font-weight: 400;
}
.detail{
    margin:10px 0;
    font: 14px;
    color: #c5c9d4;
}
</style>